package com.kaishengit.service;

import java.util.List;

import com.kaishengit.dao.ProjectDao;
import com.kaishengit.entity.Project;
import com.kaishengit.entity.User;

public class ProjectService {

	private ProjectDao projectDao = new ProjectDao();
	
	public List<Project> findProjectByUser(User user){
		return projectDao.findProjectByUserId(user);
	}
	
	public Project findProjectById(int id){
		return projectDao.findProjectById(id);
	}
	
}
